import request from "@/utils/request";

/**数据概况 用户数 订单数 商品数 统计 */
export const selectUserNumberAndOrderNumberProductNumber = (params) => {
  return request({
    url: "/admin/userData/selectUserNumberAndOrderNumberProductNumber",
    method: "get",
    params,
  });
};

/**数据概况 销售情况 */
export const marketCondition = (params) => {
  return request({
    url: "/admin/userData/marketCondition",
    method: "get",
    params,
  });
};

/**数据概况 商品销售额top前十 */
export const marketProductTop = (params) => {
  return request({
    url: "/admin/userData/marketProductTop",
    method: "get",
    params,
  });
};

/**数据概况 用户支付金额top前十 */
export const userPayMoneyTop = (params) => {
  return request({
    url: "/admin/userData/userPayMoneyTop",
    method: "get",
    params,
  });
};
